package com.atguigu.dao;

import com.atguigu.pojo.OrderSetting;
import org.apache.ibatis.annotations.Param;

import java.util.ArrayList;
import java.util.Date;
import java.util.HashMap;
import java.util.List;

public interface OrderSettingDao {
    void upload(@Param("dataList") ArrayList<OrderSetting> dataList);

    List<OrderSetting> getOrderSettingByMonth(HashMap<String, Object> map);


    long findCountByOrderDate(Date orderDate);

    void editNumberByOrderDate(OrderSetting orderSetting);

    void add(OrderSetting orderSetting);

    OrderSetting getOrderSettingSignleByMonth(Date orderDate);

    void editReservationsByOrderDate(OrderSetting orderSetting);
}
